package cui.xin.studentcourse.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cui.xin.studentcourse.dto.MessageDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessageMapper extends BaseMapper<MessageDto> {

    /**
     * 查看公告
     * @return
     */
    List<MessageDto> getNotice();
    /**
     * 查看消息
     * @return
     */
    List<MessageDto> getMessage();
}
